<div id="main-content" class="departments">    
<!--<div id="backgroundplan">
<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" width="851px"
	 height="731px" viewBox="0 0 851 731" enable-background="new 0 0 851 731" xml:space="preserve">
        <?php foreach($this->department->Subdepartment as $subdepartments) {?>            
        <g id="">  
            <polygon id="<?php echo $this->department->Id ?>" fill="<?php echo $this->department->Color ?>" points="<?php echo $subdepartments->SubdepartmentPoints ?>"/>                    
        </g>
        <?php }?>
</svg>
</div>-->
<?php echo $this->form ?>
</div>  
<div class="list-wrapper"> 
        <ul>
        <?php foreach ($this->department as $department ) { ?> 
            <li id=""> 
                 <a href ="<?php echo $this->baseUrl(); ?>/shelf/viewshelf/id/<?php echo $department->id ?>" id="<?php echo $department->name?>">
                    <?php echo $department->name?>  
                 </a>
                <?php if ($department->id == $this->id  && $shelf->department_department_id == $this->id) { ?>                 
                    <ul id="shelflist">
                    <?php foreach ($this->shelf as $shelf ) {   ?>                                                  
                                <li> 
                                     <a href ="<?php echo $this->baseUrl(); ?>/shelf/edit/id/<?php echo $shelf->id; ?>" id="">
                                        <?php echo $shelf->label?>
                                    </a>
                                </li>                            
                    <?php } ?>
                    </ul>
                <?php } ?>
            </li>                     
        <?php } ?>
        </ul>        
</div>